package com.ms.demo;

/**
 * @description: 创建具体的Burger类  VegBurger
 * @author: ms
 * @create: 2022-10-24 10:23
 */
public class VegBurger extends Burger {

    @Override
    public String name() {
        return "Veg Burger";
    }

    @Override
    public float price() {
        return 15f;
    }
}